"use strict";
var express = require('express');
var router = express.Router();
router.use('/login', require('./login'));
router.use('/register', require('./register'));

/** 是否登陆的判断 */
var isLogged = require('./isLogged.js');

module.exports = function(app) {
    app.use(router);
    app.use(isLogged);
};